package com.huike.review.service;

import com.github.pagehelper.IPage;
import com.github.pagehelper.Page;
import com.huike.review.pojo.PageBean;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    int addreview(String name, Integer age, String sex );

    int update(Review review);

    int  deleteById(Long id);

    Review selectById(Long id);

   PageBean findPage(Integer pageNum, Integer pageSize);
}
